package com.tarena.lbs.content.service;

import com.tarena.lbs.base.protocol.exception.BusinessException;
import com.tarena.lbs.base.protocol.pager.PageResult;
import com.tarena.lbs.pojo.content.dto.ArticleCategoryDTO;
import com.tarena.lbs.pojo.content.param.ArticleCategoryParam;
import com.tarena.lbs.pojo.content.query.ArticleCategoryQuery;

public interface ArticleCategoryService {
    void insert(ArticleCategoryParam articleCategoryParam);

    void delete(Integer id) throws BusinessException;

    void update(ArticleCategoryParam articleCategoryParam) throws BusinessException;

    PageResult<ArticleCategoryDTO> list(ArticleCategoryQuery articleCategoryQuery);

    ArticleCategoryDTO get(Integer id) throws BusinessException;

}
